package com.campus.bbs;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class DetailActivity extends Activity {
	DetailController controller;

	public void onCreate(Bundle b) {
		super.onCreate(b);
		controller = new DetailController(this, getIntent().getStringExtra(
				"url"));
		setContentView(controller.getView());
	}

	static void send(Activity a, String url) {
		Intent i = new Intent(a, DetailActivity.class);
		i.putExtra("url", url);
		a.startActivity(i);
	}
}
